package org.haredot.service;

import org.haredot.entity.Menu;
import org.haredot.vo.ResultVo;

import java.util.List;
import java.util.Map;

public interface MenuService {
    ResultVo<Menu> saveMenu(Menu menu);

    ResultVo<List<Menu>> queryMenus();

    ResultVo<Menu> modifyStatus(Map<String, Object> param);

    ResultVo<Menu> modifyMenu(Menu menu);

    ResultVo<Menu> removeMenu(Long id);

    ResultVo<?> queryLeftMenus(String username);
}
